
from user import *
from table import *
import time

def printTablesInfo():
	#return 
	for i in range(10041, 10044):
		t = tables[i]
		t.printInfo()


for i in range(10041, 10044):
	t = table(i)
	tables[i] = t

u1 = user()
u1._setInfo(10001, "chenxin", "m", "http://www.google.com")
u1.userLogin(10041)
u1.userSit(1, 10000)

time.sleep(1)

u2 = user()
u2._setInfo(10002, "yes", "m", "http://www.google.com")
u2.userLogin(10041)
u2.userSit(2, 10000)
time.sleep(2)
print "!!!!!!!!!!!user chips"
u2.userChip(100, 1)
